rsync: run as regular user rather than as root
authorJohn Audia <[email protected]>
Sun, 20 Jul 2025 15:54:49 +0000 (11:54 -0400)
committerHannu Nyman <[email protected]>
Thu, 24 Jul 2025 15:08:56 +0000 (18:08 +0300)
commit2a7364534eb67099e000655b267400a3c885c21b
treea8af5a1833e4ff05220cab9ee1e95594614ecab5
parente4ec9e371b90e819c9230f33f38dc1b5a867cb56
rsync: run as regular user rather than as root

Rsyncd only needs a subset of all capabilities so create
a dedicated user with these capabilities. This is better from both a
security and an isolation perspective than running as root.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <[email protected]>
net/rsync/Makefile
net/rsync/files/rsyncd.init
net/rsync/files/rsyncd.json [new file with mode: 0644]